<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>买车-<{$setting.title}></title>
		<meta content="<{$setting.keywords}>" name="keywords" />
		<meta content="<{$setting.description}>" name="description" />
		<link href="<{$weburl}>/templates/default/<{$setting.templates}>/css/car.css" rel="stylesheet" type="text/css"/>
		<script type="text/javascript" src="<{$weburl}>/static/js/jquery.js"></script>
		<script language="JavaScript">
			$(function() {
				//品牌选择
				$("#brand").change(function(){
					$.get("<{$weburl}>/index.php?m=ajax&ajax=1", { 
						bid :  $("#brand").val() 
					}, function (data, textStatus){
						   $("#subbrand").html(data); // 把返回的数据添加到页面上
						}
					);
				});

				$("div.car_tab ul li a").mouseover(function() {
					$(this).addClass("here").parent().siblings().children().removeClass("here");
					var index = $div_li.index(this);
					$("div.cartab_box > div").eq(index).show().siblings().hide();
				});
			})
		</script>
		</head>
	<body>
<!--内容--> 
<{include file="default/`$setting.templates`/head.html"}>
<div class="nav">您当前的位置：<a href="<{$weburl}>/">首页</a> <span>></span> <a style="color:#333;">求购</a></div>
<div class="main clearfix mt10">
	<div class="main_left">
		<div class="search_box">
			<div class="condition">
				<span class="fr pr10"><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/clear/<{else}>index.php?m=qiugou&clear=1<{/if}>" class="unl blue">清空条件</a></span>
				<span class="fl">您已选择：</span>
				<ul class="condition_list fl">
					<{if $smarty.cookies.keywords<>''}><li><a href="<{$weburl}>/index.php?m=qiugou&k=" class="condition"><{$smarty.cookies.keywords}></a></li><{/if}>
					<{if $smarty.cookies.brand<> 0}><li><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/b_0<{else}>index.php?m=qiugou&c=b_0<{/if}>" class="condition"><{$cache.brandlist[$smarty.cookies.brand]}></a></li><{/if}>
					<{if $smarty.cookies.subbrand<> 0}><li><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/sb=0<{else}>index.php?m=qiugou&c=s_0<{/if}>" class="condition"><{$smarty.cookies.subbrandname}></a></li><{/if}>
					<{if $smarty.cookies.price<>0}><li><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/p_0<{else}>index.php?m=qiugou&c=p_0<{/if}>" class="condition"><{$arr_price[$smarty.cookies.price]}></a></li><{/if}>
					<{if $smarty.cookies.age<> 0}><li><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/a_0<{else}>index.php?m=qiugou&c=a_0<{/if}>" class="condition"><{$arr_age[$smarty.cookies.age]}></a></li><{/if}>
				</ul>
			</div>
			<ul class="search_list">
				<form method="get" action="<{$weburl}>/index.php">
				<li>品 牌： <a href="<{$weburl}>/index.php?m=qiugou&c=b_0" <{if $smarty.cookies.brand==0}>class="here"<{/if}>>全部</a><{foreach from=$arr_brand key=skey item=brandlist}><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/b_<{$skey}><{else}>index.php?m=qiugou&c=b_<{$skey}><{/if}>" <{if $smarty.cookies.brand==$skey}>class="here"<{/if}>><{$brandlist}></a><{/foreach}>
				<select id="brand" name="c">
					<{$selectbrandsearch}>
				</select>
				<select id="subbrand" name="sb">
					<option value="">请选择车系</option>
				</select>
				<input type="hidden" name="m" value="qiugou">
				<input type="submit" value="搜索" class="cbutton">
				</li>
				</form>
				<li>价 格： <a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/p_0<{else}>index.php?m=qiugou&c=p_0<{/if}>"  <{if $smarty.cookies.price==0}>class="here"<{/if}>>全部</a><{foreach from=$arr_price key=skey item=pricelist}><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/p_<{$skey}><{else}>index.php?m=qiugou&c=p_<{$skey}><{/if}>" <{if $smarty.cookies.price==$skey}>class="here"<{/if}>><{$pricelist}></a><{/foreach}></li>
				<li>车 龄： <a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/a_0<{else}>index.php?m=qiugou&c=a_0<{/if}>"  <{if $smarty.cookies.age==0}>class="here"<{/if}>>全部</a><{foreach from=$arr_age key=skey item=agellist}><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/a_<{$skey}><{else}>index.php?m=qiugou&c=a_<{$skey}><{/if}>" <{if $smarty.cookies.age==$skey}>class="here"<{/if}>><{$agellist}></a><{/foreach}></li>
			</ul>
		</div>
		<div class="search_big_box mt10">
			<div class="orderlist">
				<ul class="fl">
					<li <{if $smarty.cookies.order==1}>class="or04"<{elseif $smarty.cookies.order==2}>class="or03"<{else}>class="or02"<{/if}>><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/o=<{if $smarty.cookies.order==1}>2<{elseif $smarty.cookies.order==2}>1<{else}>2<{/if}><{else}>index.php?m=qiugou&order=<{if $smarty.cookies.order==1}>2<{elseif $smarty.cookies.order==2}>1<{else}>2<{/if}><{/if}>" >时间</a></li>
					<li <{if $smarty.cookies.order==3}>class="or04"<{elseif $smarty.cookies.order==4}>class="or03"<{else}>class="or02"<{/if}>><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/o=<{if $smarty.cookies.order==3}>4<{elseif $smarty.cookies.order==4}>3<{else}>3<{/if}><{else}>index.php?m=qiugou&order=<{if $smarty.cookies.order==3}>4<{elseif $smarty.cookies.order==4}>3<{else}>3<{/if}><{/if}>" >价格</a></li>
					<li <{if $smarty.cookies.order==7}>class="or04"<{elseif $smarty.cookies.order==8}>class="or03"<{else}>class="or02"<{/if}>><a href="<{$weburl}>/<{if $setting.ishtml==1}>qiugou/o=<{if $smarty.cookies.order==7}>8<{elseif $smarty.cookies.order==8}>7<{else}>7<{/if}><{else}>index.php?m=qiugou&order=<{if $smarty.cookies.order==7}>8<{elseif $smarty.cookies.order==8}>7<{else}>7<{/if}><{/if}>" >车龄</a></li>
				</ul>
			</div>
			<div class="box">
					<table cellspacing="0" cellpadding="0" width="100%"  class="listtable">
					<tr><th align="left">求购意向</th><th>期望价格</th><th>期望车龄</th><th>求购时间</th></tr>
					<{foreach from=$buycarslist item=cars}>
					<tr>
					<td align="left"><a href="<{$cars.p_url}>" target="_blank">求购 <{$cars.p_allname}></a></td>
					<td align="center" class="red"><{$cars.p_price}>万</span></td>
					<td align="center"><{$cars.age}></td>
					<td align="center"><{$cars.p_addtime}></td>
					</tr>
					<{/foreach}>
					</table>
				<div class="page_list"><{$button_basic}></div>
			</div>
		</div>
	</div>
	<div class="main_right">
		<a href="<{$weburl}>/<{if $setting.ishtml==1}>buycar/<{else}>index.php?m=buycar<{/if}>" class="buymenu mb10">提交求购信息</a>
		<{include file="default/`$setting.templates`/right.html"}>
	</div>
</div>
<{include file="default/`$setting.templates`/foot.html" }>
</body>
</html>